<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title></title>
		<link rel="stylesheet" type="text/css" href="__PUBLIC__/home/css/public.css"/>
		<link rel="stylesheet" type="text/css" href="__PUBLIC__/home/css/patriarch/patriarchpay_a_fee.css"/>
		<!--<link rel="stylesheet" type="text/css" href="css/patriarchpay_a_fee.css"/>-->
	</head>
	
	<body>
		<a href="{:U('Home/Public/person')}" id="home" style="bottom: 6rem;">
			<img src="__PUBLIC__/home/img/index/home.png" />
		</a>
		<form action="{:U('addorder')}" method="post">
		
		<ul>
		<input type="hidden" name="asd" id="asd" value="123" />
		<input type="hidden" name="asd" id="qwe" value="80" />
		<p><img src="__PUBLIC__/home/img/patriarch/jfx.png"/><span>缴费项目</span> <span>金额(￥)</span><span>日期</span></p> 
		<!-- <li><img  class="imgwxz" style="display: none;" src="__PUBLIC__/home/img/patriarch/wxz.png"/><img class="imgyx" style="display: inline-block;" src="__PUBLIC__/home/img/patriarch/yx.png"/><span>{$vo.ptitle}</span><input type="text" readonly="readonly" name="" id="" value="{$vo.amount}" /> <span>{$vo.create_time|time_format='Y-m'}</span></li>  -->
		<volist name="slist" id="vo">
			<li><!-- <img onclick="imgxz(this)" class="imgwxz" src="__PUBLIC__/home/img/patriarch/wxz.png" style="display: none;" /><img onclick="imgwxz(this)" class="imgyx" src="__PUBLIC__/home/img/patriarch/yx.png" style="display: none;"/> --><img class="imgyx" src="__PUBLIC__/home/img/patriarch/yx.png"/><span>{$vo.ctitle}</span><input type="text" readonly="readonly" name="" id="" value="{$vo.amount}" /><span>{$vo.create_time|time_format='Y-m'}</span></li>
			<!-- <input type="hidden" name="amount" value="{$amount}"></input> -->
			<input type="hidden" name="ititle" value="{$vo.ititle}"></input>
			<input type="hidden" name="detail" value="{$vo.detail}"></input>
		</volist>
			<!-- <li><img onclick="imgxz(this)" class="imgwxz" src="__PUBLIC__/home/img/patriarch/wxz.png"/><img onclick="imgwxz(this)" class="imgyx" src="__PUBLIC__/home/img/patriarch/yx.png"/><span>春游</span><input type="text" readonly="readonly" name="" id="" value="2" /><span>2017-04</span></li> -->
		</ul>
		<div class="footer">
			<!-- <img class="footerimgwxz" src="__PUBLIC__/home/img/patriarch/wxz.png"/> --><img class="footerimgyx" src="__PUBLIC__/home/img/patriarch/yx.png"/><span>全选</span><span></span><span>￥</span><input type="text" readonly="readonly" name="" id="ss" value="{$amount}" style="width: 100px;" /><input type="submit" value="结&nbsp;&nbsp;算"/>
		</div>
		</form>
	</body>
	<script src="__PUBLIC__/home/js/jquery-2.1.1.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="__PUBLIC__/home/js/font.js" type="text/javascript" charset="utf-8"></script>
	<script type="text/javascript">
// 			function imgxz(obj){
// 				$(obj).parent().children('img.imgyx').show();
// 				$(obj).hide();
// 				var a = $(obj).parent().children('input').val();
// 				var total = $('#ss').val();
// 				total = parseFloat(a)+parseFloat(total);
// 				$("#ss").val(total);
// //				console.log(s)
// 				console.log(typeof(a));
				
// 			}
// 			function imgwxz(obj){
// 				$(obj).parent().children('img.imgwxz').show();
// 				$(obj).hide();
				
// 				var a = $(obj).parent().children('input').val();
// 				var total = $('#ss').val();
// 				total = parseFloat(total)-parseFloat(a);
// 				$("#ss").val(total);
// 			}
// 		$(function(){
// 			$(".footerimgwxz").on("click",function(){
// 				$(".imgyx,.footerimgyx").show();
// 				$(".imgwxz").hide();
// 				$(this).hide()
// 				$("#ss").val($("#asd").val());
// 			});
// 			$(".footerimgyx").on("click",function(){
// 				$(".imgwxz,.footerimgwxz").show();
// 				$(this).hide()
// 				$(".imgyx").hide();
// 				$("#ss").val($("#qwe").val());
// //				console.log(c);
// 			});
		// })
	</script>
</html>
